<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<table class="table table-bordered table-hover definewidth m10" >
   <thead>
    <tr>
    	<th><input type="checkbox"  onChange="checkall(this);"></th>
        <th>病例号</th>
        <th>病人姓名</th>
        <th>主治医生</th>
        <th>看病时间</th>
        <th>挂号科室</th>
        <th>状态</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach var="obj" items="${list}">
        <tr>
            <td><input type="checkbox" name="ids" class="checkAllRegister" value="${obj.id}"></td>
            <td>${obj.registerNum }</td>
            <td>${obj.name}</td>
            <td>${obj.doctorId}</td>
            <td>${obj.visitDt}</td>
            <td>${obj.department}</td>
            <td>${obj.status}</td>
            <td><a>查看</a>&nbsp;<a>编辑</a>&nbsp;<a href="javascript:deleteById(${obj.id})">删除</a></td>
        </tr>
    </c:forEach>
     </tbody>
  </table>
<input id="pageTotal" type="hidden" value="${pageTotal }">
<input id="total" type="hidden" value="${total}">
